<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:rich="http://richfaces.org/rich"
      xmlns:a4j="http://richfaces.org/a4j">
    <body>
        <h:form>
            <rich:panel styleClass="login" style="">
                <f:facet name="header">
                    <h:outputText value="#{msg.enter_login}"/>
                </f:facet>
                <h:panelGrid columns="2">
                    <h:outputLabel for="nome" value="#{msg.name} "  />
                    <h:inputText required="true" id="nome" value="#{MBusuario.usuario.nome}" styleClass="edit" size="50" />

                    <h:outputLabel for="login" value="#{msg.login} "  />
                    <h:inputText required="true" id="login" value="#{MBusuario.usuario.login}" styleClass="edit" size="20" />

                    <h:outputLabel for="senha" value="#{msg.password} "  />
                    <h:inputSecret required="true" id="senha" value="#{MBusuario.usuario.senha}" styleClass="edit" size="20" />

                    <h:commandButton value="#{msg.insert}" action="#{MBusuario.adicionar}" styleClass=""/>
                </h:panelGrid>
            </rich:panel>
        </h:form>
    </body>
</html>

